import request from "@/utils/request";

// 查询廉政建设列表
export function listBizLianzhengJianshe(query) {
  return request({
    url: "/biz/bizLianzhengJianshe/list",
    method: "get",
    params: query,
  });
}

// 查询廉政建设详细
export function getBizLianzhengJianshe(id) {
  return request({
    url: "/biz/bizLianzhengJianshe/" + id,
    method: "get",
  });
}

// 新增廉政建设
export function addBizLianzhengJianshe(data) {
  return request({
    url: "/biz/bizLianzhengJianshe",
    method: "post",
    data: data,
  });
}

// 修改廉政建设
export function updateBizLianzhengJianshe(data) {
  return request({
    url: "/biz/bizLianzhengJianshe",
    method: "put",
    data: data,
  });
}

// 删除廉政建设
export function delBizLianzhengJianshe(id) {
  return request({
    url: "/biz/bizLianzhengJianshe/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizLianzhengJianshe/findMaxSort",
    method: "get",
  });
}
// 导出廉政建设
export function exportBizLianzhengJianshe(query) {
  return request({
    url: "/biz/bizLianzhengJianshe/export",
    method: "get",
    params: query,
  });
}

export function getUUID(query) {
  return request({
    url: "/biz/bizLianzhengJianshe/getUUID",
    method: "get",
    params: query,
  });
}
